package me.chanjar.weixin.mp.bean.card;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 代金券
 * 
 * @author Debenson
 * @since 0.1
 */
public class Cash extends AbstractCard implements Serializable {
  private static final long serialVersionUID = -8570888357183687942L;

  /**
   * 代金券专用，表示起用金额（单位为分）,如果无起用门槛则填0。
   */
  @JsonProperty("least_cost")
  private Integer leastCost;

  /**
   * 代金券专用，表示减免金额。（单位为分）
   */
  @JsonProperty("reduce_cost")
  private Integer reduceCost;

  public Integer getLeastCost() {
    return leastCost;
  }

  public void setLeastCost(Integer leastCost) {
    this.leastCost = leastCost;
  }

  public Integer getReduceCost() {
    return reduceCost;
  }

  public void setReduceCost(Integer reduceCost) {
    this.reduceCost = reduceCost;
  }
}
